// 根组件
import React from 'react'
import Test from './components/Test'
export default class App extends React.Component {
  state = {
    test: [1, 2, 3],
  }
  render() {
    return (
      <div>
        <hr />
        {/* 通过props传递数据给Test */}
        <Test xxx={this.state.test} yyy={1} zzz={'123'}></Test>
        <hr />
      </div>
    )
  }
}
